<?php 
$this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		array('value'=>$model->shipping_name,'type'=>'text','label'=>'Shipping agent'),
		array('value'=>CHtml::link($model->port_name,CHtml::normalizeUrl(array('company/view','id'=>$model->port_id))),'type'=>'raw','label'=>'Port of discharge'),
		'attn',
        'subject',
	),
));
?>